package cn.zhouchao.org.service;

import cn.zhouchao.org.domain.Shop;
import cn.zhouchao.basic.service.IBaseService;
import cn.zhouchao.org.dto.SettlementAgainDto;
import cn.zhouchao.org.dto.ShopRegisterDto;
import cn.zhouchao.org.dto.shopAuditLogDto;
import javax.mail.MessagingException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhouchao
 * @since 2023-02-28
 */
public interface IShopService extends IBaseService<Shop> {
    //店铺入驻
    void settlement(ShopRegisterDto dto);
    //店铺审核通过
    void auditPass(shopAuditLogDto dto) throws MessagingException;
    //店铺激活
    void activity(Long shopId);
    //店铺审核驳回
    void reject(shopAuditLogDto dto);
    //店铺重新入驻
    void settlementAgain(ShopRegisterDto dto);
    /*批量添加*/
    void batchAddShop(List<Shop> ShopList);
}
